import {
  isArray,
  isNumber,
  isEmpty,
  uniq,
  uniqBy,
  pickBy,
  cloneDeep,
  debounce,
  throttle
} from 'lodash-es'

export const _ = {
  isArray,
  isNumber,
  isEmpty,
  uniq,
  uniqBy,
  pickBy,
  cloneDeep,
  debounce,
  throttle
}

export default function (app) {
  app.config.globalProperties.$_ = _
}
